package com.boot2.core.conf;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.stereotype.Component;

/**
 * @description : 淘宝短信相关配置
 * @author : zouzhiyong
 * @date : 2019/5/31 14:32
 */
@Data
@Configuration
@ConfigurationProperties(prefix = "sms.taobao")
@Component
public class SmsTaobaoConfig {

    /**
     * 淘宝短信发送请求地址
     */
    protected String url;
    /**
     * 淘宝短信发送appkey
     */
    protected String appkey;
    /**
     * 淘宝短信发送secret
     */
    protected String secret;
}
